package org.example.qqrobot.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.qqrobot.model.pojo.Label;

import java.util.List;

@Mapper
public interface ProductLabelMapper {


    @Select("select *from label where product_id = #{id}")
    List<Label> findByProductId(Long id);

    
    void save(Label label);
}
